//
//  GMCommentBaseModel.h
//  Teecloud
//
//  Created by 小熊 on 2018/10/18.
//  Copyright © 2018年 小志. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GMBasePackageModel.h"
@interface GMCommentBaseModel : NSObject
/**"资源 Id*/
@property (nonatomic, copy) NSString *Id;
/**资源名称*/
@property (nonatomic, copy) NSString *Name;
/**"资源 Id*/
@property (nonatomic, copy) NSString *FromName;
/**视频播放地址*/
@property (nonatomic, copy) NSString *HeadUrl;
/**视频播放地址*/
@property (nonatomic, copy) NSString *Url;
/**最后播放时间/位置（秒，仅用于视频资源）*/
@property (nonatomic, assign) NSInteger LastPlayTime;
/**是否仅允许顺序播放（true|false)*/
@property (nonatomic, assign)BOOL  IsOnlyOrderPlay;
/**是否收藏*/
@property (nonatomic, assign)BOOL  IsCollect;

/**"最后播放时间/位置（已格式化，显示用；仅用于视频资源）*/
@property (nonatomic, copy) NSString *LastPlayTimeStr;
/**播放或阅读次数*/
@property (nonatomic, strong) NSNumber *PlayCount;
/**已练习数量*/
@property (nonatomic, strong) NSNumber *Count;
/**习题数量*/
@property (nonatomic, strong) NSNumber *ExerCount;
/**附件数量*/
@property (nonatomic, strong) NSNumber *AttachCount;
/**购买人数*/
@property (nonatomic, strong) NSNumber *BuyCount;
/**总时长（秒，仅用于视频资源）*/
@property (nonatomic, assign) NSInteger TimeLen;
/**试播时长（秒，仅用于视频资源）*/
@property (nonatomic, strong) NSNumber *TryPlayTimeLen;

/**总时长（已格式化，显示用；仅用于视频资源）*/
@property (nonatomic, copy) NSString *TimeLenStr;
/**总评论条数*/
@property (nonatomic, strong) NSNumber *RemarkCount;
/**价钱*/
@property (nonatomic, assign) CGFloat Price;
/**星星评分*/
@property (nonatomic, assign) NSInteger AvgScore;
/**富文本介绍内容*/
@property (nonatomic, copy) NSString *Memo;
/**"true:已完全播放完，false:未全部播放完*/
@property (nonatomic, assign) BOOL IsPlayOver;
/**附件资源列表*/
@property (nonatomic, strong) NSArray *AttachList;
/**视频或文档知识点列表*/
@property (nonatomic, strong) NSArray *Dirs;
/**第 1 页评论*/
@property (nonatomic, strong) NSArray *Remarks;
/**随堂练习题目列表*/
@property (nonatomic, strong) NSArray *ExamInStudy;
/**附加属性，用于标记是那种类型*/
@property (nonatomic, strong) NSNumber *ResType;
/**用来控制知识点内容的伸缩*/
@property (nonatomic, assign) BOOL isopen;

@property (nonatomic, strong) GMBasePackageModel *PackDirs;

/**组装起来的目录数据*/
@property (nonatomic, strong) NSArray *packArr;
/**如果有值就显示课程包名称*/
@property (nonatomic, copy) NSString *tempStr;

@end
